package com.teama4.shop.mapper;

import com.teama4.shop.domain.EvaluateUserSpeComExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EvaluateMapperExt {
    List<EvaluateUserSpeComExt> selectAllEvaluateByUserId(Integer userId);
    List<EvaluateUserSpeComExt> selectEvaluateByComId(Integer commodityId);
    List<EvaluateUserSpeComExt> selectEvaluateBySpeId(Integer specificationId);
    EvaluateUserSpeComExt selectEvaluateByUserSpeId(@Param("userId") Integer userId,@Param("orderId") Integer orderId,@Param("specificationId") Integer specificationId);


}
